get Result
An alternative to the Array.get function that wraps it in a Result.
An alternative to the List.get function that wraps it in a Result.
An alternative to the Map.get function that wraps it in a Result.
inline fun <T> Array<out T>.getResult(index: Int, message: Array<out T>.(Int) -> String): Result<T>(source)
An alternative to the Array.get function that wraps it in a Result with the provided message
An alternative to the List.get function that wraps it in a Result with the provided message
An alternative to the Map.get function that wraps it in a Result with the provided message